@extends('layouts.console_header')

@section('title', '商家近期无翻倍日列表')

@section('resources')
    @parent
    <link rel="stylesheet" href="{{env('CSS_DOMAIN')}}css/jquery.dataTables.min.css?v={{env('CSS_VERSION')}}">
    <style>
        .shop_eweima{position: fixed;top: 200px;left: 50%;width: 550px;padding-bottom: 10px;margin-left: -275px;background-color: #fff;border: 1px solid #333;display: none;z-index: 1001;}
        .shop_eweima_content li{text-align: center;margin: 10px;}
        .shop_eweima .shop_downloadewm{width: 350px;height: 40px;margin: 0 125px;background-color: #9955c6;color: #fff;border-radius: 10px;position: absolute;bottom: 20px;}
        .shop_title{height: 50px;line-height: 50px;border-bottom: 1px solid #333;}
        .shop_title p{width: 500px;text-align: center;}
        .shop_title img{width: 30px;margin: 10px;}
        .down_eweimas{width: 120px;height: 30px;line-height: 30px;margin: 9px 15px;border-radius: 5px;background: #9955c6;color: #fff;font-size: 14px;cursor: pointer;}
        .prompt_double{width: 500px;position: fixed;top: 200px;left: 50%;margin-left: -250px;background-color: #fff;z-index: 1001;box-shadow: 0px 0px 5px 5px rgba(128,128,128,0.5);}
        .prompt_double .title{font-size: 24px;margin-top: 10px;color: #9955c6;text-align: center;}
        .prompt_double .content{font-size: 18px;color: #808080;margin-top: 40px;padding: 0 60px;text-align: center;}
        .new_shop_eweima_content .content{font-size: 18px;color: #808080;margin-top: 40px;padding: 0 60px;text-align: center;}
        .prompt_double .content input{font-size: 14px;width: 300px;height: 30px;border: 1px solid #000;padding: 0 5px;}
        .new_shop_eweima_content .content input{font-size: 14px;width: 300px;height: 30px;border: 1px solid #000;padding: 0 5px;}
        .prompt_double .close_pic{width: 30px;height: 30px;position: absolute;top: 10px;right: 10px;}
        .prompt_double .button{margin-top: 30px;font-size: 24px;}
        .new_shop_eweima_content .button{margin-top: 30px;font-size: 24px;}
        .prompt_double .button button{width: 100px;height: 40px;text-align: center;line-height: 40px;border-radius: 5px;cursor: pointer;}
        /*.new_shop_eweima_content .button button{width: 100px;height: 40px;text-align: center;line-height: 40px;border-radius: 5px;cursor: pointer;}*/
        .prompt_double .button .cancel{margin: 10px 0 30px 20px;background-color: #eee;}
        .new_shop_eweima_content .button .new_shop_cancel{margin: 10px 0 30px 20px;background-color: #eee;width: 100px;height: 40px;text-align: center;line-height: 40px;border-radius: 5px;cursor: pointer;}
        .prompt_double .button .sure{margin: 10px 20px 30px 0;cursor: pointer;}
        .new_shop_eweima_content .button .sure{margin: 10px 20px 30px 0;cursor: pointer;}
        .prompt_success{width: 100px;position: fixed;top: 250px;left: 50%;margin-left: -60px;background: rgba(0,0,0,0.5);padding: 10px;z-index: 1002;text-align: center;color: #fff;display: none;}
        .prompt_double .count_down{font-size: 18px;color: red;margin-top: 10px;padding: 0 60px;text-align: center;display: none;}
        .new_shop_eweima{border-bottom: 1px solid #aaa;padding: 0 10px;cursor: pointer;}
    </style>
@endsection

@section('content')
<section class="user_list">
    <div style="border-bottom: 2px solid #9955c6;overflow: hidden;">
        <p class="fz_14 account_title fl" style="border: none;"><span style="color: #7f7f7f;"><a href="/console/index">首页</a>>商家版运营></span><span class="co_violet">近期无翻倍日管理列表</span></p>

        <p class="fr tc back_btn"><a href="/console/shop/withoutevent/export?cityid={{$cityid}}" target="_blank" style="color:#fff;">导出</a></p>
    </div>
    <table id="example" class="display" cellspacing="0" width="100%">
        <thead>
            <tr>
                <th>序号</th>
                <th>商家代码</th>
                <th style="width: 200px;">商家名称</th>
                <th>所在区县</th>
                <th>地址</th>
                <th>商家最后翻贝日期</th>
                <th>维护人</th>
                {{--<th style="width: 246px;">操作</th>--}}
            </tr>
        </thead>
        <tfoot>
            <tr>
                <th>序号</th>
                <th>商家代码</th>
                <th>商家名称</th>
                <th>所在区县</th>
                <th>地址</th>
                <th>商家最后翻贝日期</th>
                <th>维护人</th>
                {{--<th>操作</th>--}}
            </tr>
        </tfoot>
        <tbody>
            @foreach($lists as $list)
                <tr>
            @if(!isset($i))
                <td>{{$i=1}}</td>
            @else
                <td>{{++$i}}</td>
            @endif
                    {{--<td>{{$list->shopid}}</td>--}}
                    <td>{{$list->shopcode}}</td>
                    <td>{{$list->shopname}}</td>
                    <td>{{$list->districtname}}</td>
                    <td>{{$list->shopaddress}}</td>
                    <td>{{$list->lastevent}}</td>
                    <td>{{$list->realname}}</td>
                    {{--<td></td>--}}
                </tr>
            @endforeach
        </tbody>
    </table>
</section>
@endsection

@section('scriptResources')
    @parent
    <script type="text/javascript" src="{{env('JS_DOMAIN')}}js/jquery.qrcode.min.js"></script>
    <script src="{{env('JS_DOMAIN')}}js/jquery.dataTables.min.js?v={{env('JS_VERSION')}}"></script>
@endsection